from api.models.bigmodels.ernie.constitute import initialize_erniebot, constitute
from api.models.bigmodels.ernie.abstract import initialize_erniebot, abstract
from api.models.bigmodels.ernie.polish import initialize_erniebot,polish
from api.models.bigmodels.ernie.translate import initialize_erniebot,translate
from api.models.bigmodels.ernie.errsentence import errsentence


class ErniebotManager:
    def __init__(self):
        self.initialize_erniebot = initialize_erniebot
        self.constitute = constitute
        self.abstract = abstract
        self.polish = polish
        self.translate = translate
        self.errsentence = errsentence
    # 如果需要，也可以在此类中添加其他方法或功能

# manager = ErniebotManager()
# manager.initialize_erniebot()
# response = manager.translate('我已经收到你的查询文本，请告诉我您需要关于什么方面的信息。','德语')
# print(response)
